import { defineStore } from 'pinia'

const urlStore = defineStore('httpURL', () => {

    const httpUrl = ref('http://localhost:8080/')
    //console.log('store的httpUrl---',httpUrl.value);

    /* function getUrl() {
        httpUrl.value = 'http://localhost:8080'
        console.log('httpUrl.value---', httpUrl.value);
    } */

    return { httpUrl }
})
export default urlStore